function check(recordId,checkStatus) {
    var param = {
        recordId:recordId,
        checkStatus:checkStatus
    }
    $.ajax({
        type:"POST",
        url:"syscheck/docheck",
        dataType:"json",
        contentType:"application/json",
        data:JSON.stringify(param),
        success:function(result){
            if(result.success) {
                location.href="syscheck?isOperate="+$("#isOperate").is(':checked');
            } else {
                alert(result.msg);
            }
        }
    });
}

function reCheck(recordId,checkStatus) {
    var param = {
        recordId:recordId,
        checkStatus:checkStatus
    }
    $.ajax({
        type:"POST",
        url:"syscheck/dorecheck",
        dataType:"json",
        contentType:"application/json",
        data:JSON.stringify(param),
        success:function(result){
            if(result.success) {
                location.href="syscheck?isOperate="+$("#isOperate").is(':checked');
            } else {
                alert(result.msg);
            }
        }
    });
}
